/* $Id: tabs.css,v 1.3 2009/02/02 03:38:46 johnalbin Exp $ */

/**
 * @file
 * Tabs Styling
 *
 * Adds styles for the primary and secondary tabs.
 *
 * Compare this with default CSS found in the system module's stylesheet (a copy
 * of which is in drupal6-reference.css, line 510.)
 */


div.tabs
{
  margin: 0 0 22px 0;
  width: 100%;
}

.section-user div.tabs,
.page-admin-build-block div.tabs
{
  width: 100%
}

div.tabs .author
{
  float: left;
  display: block;
  height: 20px; /* 24px (parent) - 4px (padding) */
  margin: 0;
  padding: 0 10px 0 0;
  border-width: 0;
  font-size: .92em;
  line-height: 25px;
  font-style: italic;
  color: #666;
  /*background: url(../../../all/themes/zen/zen/images/tab-right.png) no-repeat right -38px;*/
}

.section-user div.tabs .author,
.page-admin-build-block div.tabs .author
{
  display: none;
}


ul.primary
{
  margin: 0; 
  padding: 0 0 0 0;
  border-width: 0;
  list-style: none;
  white-space: nowrap;
  line-height: normal;
  /*background: url(../../../all/themes/zen/zen/images/tab-bar.png) repeat-x left bottom;*/
}

ul.primary li
{
  float: left;
  margin: 0;
  padding: 0;
}

ul.primary li a
{
  display: block;
  height: 24px;
  margin: 0;
  padding: 0; /* width of tab-left.png */
  border-width: 0;
  font-weight: normal;
  text-decoration: none;
  color: #666;
  background-color: transparent;
  /*background: url(../../../all/themes/zen/zen/images/tab-left.png) no-repeat left -38px;*/
}

ul.primary li a .tab
{
  display: block;
  height: 20px; /* 24px (parent) - 4px (padding) */
  margin: 0 5px;
  padding: 0 5px;
  border-width: 0;
  font-size: .92em;
  line-height: 25px;
  /*background: url(../../../all/themes/zen/zen/images/tab-right.png) no-repeat right -38px;*/
}

ul.primary li a:hover
{
  border-width: 0;
  color: #666;
  background-color: transparent;
  /*background: url(../../../all/themes/zen/zen/images/tab-left.png) no-repeat left -76px;*/
}

ul.primary li a:hover .tab
{
  /*background: url(../../../all/themes/zen/zen/images/tab-right.png) no-repeat right -76px;*/
}

ul.primary li.active a,
ul.primary li.active a:hover
{
  border-width: 0;
  color: #666;
  background-color: #f0efe9;
  /*background: url(../../../all/themes/zen/zen/images/tab-left.png) no-repeat left 0;*/
}

ul.primary li.active a .tab,
ul.primary li.active a:hover .tab
{
  /*background: url(../../../all/themes/zen/zen/images/tab-right.png) no-repeat right 0;*/
}

ul.secondary
{
  margin: 0;
  padding: 0 0 0 5px;
  border-bottom: 1px solid #c0c0c0;
  list-style: none;
  white-space: nowrap;
  background: url(../../../all/themes/zen/zen/images/tab-secondary-bg.png) repeat-x left bottom;
}

ul.secondary li
{
  float: left;
  margin: 0 5px 0 0;
  padding: 5px 0;
  border-right: none;
}

ul.secondary a
{
  display: block;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 1px solid #c0c0c0;
  text-decoration: none;
  color: #777;
  background: url(../../../all/themes/zen/zen/images/tab-secondary.png) repeat-x left -56px;
}

ul.secondary a .tab
{
  display: block;
  height: 18px; /* 24px (parent) - 6px (padding) */
  margin: 0;
  padding: 3px 8px;
  line-height: 18px;
}

ul.secondary a:hover
{
  background: url(../../../all/themes/zen/zen/images/tab-secondary.png) repeat-x left bottom;
}

ul.secondary a.active,
ul.secondary a.active:hover
{
  border: 1px solid #c0c0c0;
  color: #000;
  background: url(../../../all/themes/zen/zen/images/tab-secondary.png) repeat-x left top;
}
